package com.qf.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * create by 郑大仙丶
 * 2019/11/20 23:51
 */
@Component
@Data
@ConfigurationProperties(prefix = "spring.data.elasticsearch")
public class ElasticSearchProperties {

    private String host;

    private Integer port;

    private Integer connectTimeout;

    private Integer socketTimeout;

    private Integer connectRequestTimeout;

    private Integer maxConnectNum;

    private Integer  maxConnectPerRout;

}
